<html xmlns:th="http://www.thymeleaf.org">
<head>
  <!-- 页面meta -->
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>修改密码</title>
  <meta name="description" content="修改密码">
  <meta name="keywords" content="修改密码">

  <!-- Tell the browser to be responsive to screen width -->
  <meta
          content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
          name="viewport">
  <base href="http://localhost:8080">

  <link rel="stylesheet"
        href="/plugins/bootstrap/css/bootstrap.min.css">
  <link rel="stylesheet"
        href="/plugins/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet"
        href="/css/style.css">
  <link rel="stylesheet"
        href="/plugins/select2/select2.css">
  <link rel="stylesheet"
        href="/plugins/adminLTE/css/AdminLTE.css">
  <link rel="stylesheet"
        href="/plugins/adminLTE/css/skins/_all-skins.min.css">
</head>

<body class="hold-transition skin-purple sidebar-mini">

<div class="wrapper">


  <!-- 页面头部 -->
  <div th:replace="admin/header::head"></div>
  <!-- 页面头部 /-->

  <!-- 导航侧栏 -->
  <div class="main-sidebar" th:replace="admin/aside::aside"></div>
  <!-- 导航侧栏 /-->

  <!-- 内容区域 -->
  <div class="content-wrapper">

    <!-- 内容头部 -->
    <section class="content-header" style="margin-top: 30px">
      <h1>
        修改密码
        <small>修改您的登录密码</small>
      </h1>
      <ol class="breadcrumb">
        <li><a th:href="@{loginUser.do}"><i
                class="fa fa-dashboard"></i> 首页</a></li>
        <li class="active">修改密码</li>
      </ol>
    </section>
    <!-- 内容头部 /-->

    <form action="/user/changePassword" method="post">
      <!-- 正文区域 -->
      <section class="content">
        <div class="row">
          <div class="col-md-6 col-sm-12 col-xs-12">
            <div class="box box-primary">
              <div class="box-body">
                <div class="form-group">
                  <label for="oldPassword">旧密码</label>
                  <input type="password" class="form-control" id="oldPassword" name="oldPassword" required>
                </div>
                <div class="form-group">
                  <label for="newPassword">新密码</label>
                  <input type="password" class="form-control" id="newPassword" name="newPassword" required>
                </div>
                <div class="form-group">
                  <label for="confirmPassword">确认密码</label>
                  <input type="password" class="form-control" id="confirmPassword" name="confirmPassword" required>
                </div>
              </div>
              <!-- /.box-body -->
              <div class="box-footer">
                <button type="submit" class="btn bg-maroon">保存</button>
                <button type="button" class="btn bg-default" onclick="history.back(-1);">返回</button>
              </div>
            </div>
            <!-- /.box -->
          </div>
        </div>
      </section>
    </form>
    <!-- 正文区域 /-->
  </div>
  <!-- 内容区域 /-->

  <!-- 底部导航 -->
  <footer class="main-footer">
    <div class="pull-right hidden-xs">
      <b>Version</b> 1.0.0
    </div>
    <strong>版权所有 &copy; 2020</strong>
  </footer>
  <!-- 底部导航 /-->

</div>

<script src="/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="/plugins/select2/select2.full.min.js"></script>
<script src="/plugins/adminLTE/js/app.min.js"></script>
</body>

</html>
